package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.AlarmData1;

/**
 * 报警Mapper接口
 * 
 * @author zly
 * @date 2023-07-14
 */
public interface AlarmData1Mapper 
{
    /**
     * 查询报警
     * 
     * @param id 报警主键
     * @return 报警
     */
    public AlarmData1 selectAlarmData1ById(Long id);

    /**
     * 查询报警列表
     * 
     * @param alarmData1 报警
     * @return 报警集合
     */
    public List<AlarmData1> selectAlarmData1List(AlarmData1 alarmData1);

    /**
     * 新增报警
     * 
     * @param alarmData1 报警
     * @return 结果
     */
    public int insertAlarmData1(AlarmData1 alarmData1);

    /**
     * 修改报警
     * 
     * @param alarmData1 报警
     * @return 结果
     */
    public int updateAlarmData1(AlarmData1 alarmData1);

    /**
     * 删除报警
     * 
     * @param id 报警主键
     * @return 结果
     */
    public int deleteAlarmData1ById(Long id);

    /**
     * 批量删除报警
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAlarmData1ByIds(Long[] ids);
}
